﻿using System.Windows;
using System.Windows.Controls;

namespace SLS.Controls
{
    /// <summary>
    /// Interaction logic forRelationKey.xaml
    /// Based On the entry datarow, generate the key structure and return the result key
    /// Now load GTPREDef dynamically
    /// Generate GoodsMasterKeyRelations dynamically
    /// </summary>
    public partial class NMICD : UserControl
    {
        public TextBox CMDEXE
        {
            get
            {
                return (TextBox)FindName("cmdEXE");
            } 
        }
        public NMICD()
        {
            InitializeComponent();
        } 

        private void Button_Click(object sender, RoutedEventArgs e)
        {
            Button b=sender as Button; 
            cmdEXE.Text = b.Content.ToString();
        }       
    }
}